package models

type User struct {
	Id       uint   `json:"id" gorm:"primaryKey"`
	Email    string `json:"email" gorm:"unique;size:254"`
	Password string `json:"password" gorm:"size:128"`
	// Nickname   string    `json:"nickname" gorm:"size:64"`
	// Username   string    `json:"username" gorm:"unique;size:128"`
	// Phone      string    `json:"phone" gorm:"unique;size:11"`
	// DateJoined time.Time `json:"date_joined" gorm:"autoCreateTime"`
	// LastLogin  time.Time `json:"last_login"`
}
